<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css ">

    <title>Document</title>
    <style>
        a {
            text-decoration: none;
        }

        ul,ol{
            list-style: none;
        }

        header {
            position: absolute;
            width: 100%;
            height: 50px;
            background-color: black;
            top: 0;
            left: 0;

        }

        aside {
            position: absolute;
            width: 200px;
            background-color: rgb(5, 5, 80);
            top: 50px;
            left: 0;
            bottom: 0;

        }

        section {
            position: absolute;
            width: calc(100% - 200px);
            background-color: #f5f5ff;
            top: 50px;
            bottom: 0px;
            left: 200px;


        }

        #main-frame {

            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: calc(100% - 5px);

        }

        aside  ul{
          
            padding: 20px;
        }


        aside  ul li{
            height: 40px;
            color: white;
            padding-left: 20px;
            line-height: 40px;

        }

        aside ul li:hover {
            background-color: orange;
            box-shadow: 0 0 5px  white;
        }
        

        aside  ul li  a {
                color: white;
                

        }



    </style>
</head>

<body>
    <header></header>
    <aside>
        <ul>
            <li>
                <i class=" fa fa-user-plus"></i> <span>用户管理</span>
            </li>
            <li><i class=" fa fa-user-plus"></i> 订单管理</li>
            <li><i class=" fa fa-user-plus"></i> 商品管理</li>
            <li><i class=" fa fa-user-plus"></i> 财报管理</li>



        </ul>


    </aside>
    <section>
        <iframe src="test.html" frameboder="0" id="main-frame" frameborder="0"></iframe>


    </section>
</body>

</html>